package com.eduhzy.ttw.teacher.di.component;

import com.eduhzy.ttw.teacher.di.module.ClassTransferModule;
import com.eduhzy.ttw.teacher.mvp.contract.ClassTransferContract;
import com.eduhzy.ttw.teacher.mvp.ui.activity.ClassTransferActivity;
import com.jess.arms.di.component.AppComponent;
import com.jess.arms.di.scope.ActivityScope;

import dagger.BindsInstance;
import dagger.Component;

/**
 * @author xubo
 * @date 2018-7-17 10:51:03
 */
@ActivityScope
@Component(modules = ClassTransferModule.class, dependencies = AppComponent.class)
public interface ClassTransferComponent {
    void inject(ClassTransferActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        ClassTransferComponent.Builder view(ClassTransferContract.View view);

        ClassTransferComponent.Builder appComponent(AppComponent appComponent);

        ClassTransferComponent build();
    }


}